package com.example.questionsystem.modules.qu.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;
@Data
@TableName("question_banks")
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Getter
@Setter
public class QuestionBanks {

    @TableField("question_id")
    private String questionId;
    @TableField("subject_id")
    private String subjectId;
    @TableField("project_id")
    private String projectId;
    @TableField("parent_id")
    private String parentId;
    @TableField("question_type")
    private String questionType;
    @TableField("question_text")
    private String questionText;
    @TableField("options")
    private String options;
    @TableField("answer")
    private String answer;
    @TableField("score")
    private String score;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @TableField("created_at")
    private String createdAt;
    @TableField("question_html")
    private String questionHtml;
    @TableField("options_html")
    private String optionsHtml;
    @TableField("child_count")
    private String childCount;
    @TableField("knowledge")
    private String knowledge;
    @TableField("usage_count")
    private String usageCount;

}